//
//  UIButton+QSExtension.h
//  ZengLongSeSha
//
//  Created by apple on 2017/6/23.
//  Copyright © 2017年 Song. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^btnSelectorBlock)(UIButton *btn);

@interface UIButton (QSExtension)
/**
 *  添加点击事件
 *
 *  @param btnSelectorBlock 按钮点击事件Block
 */
- (void)addActionWithSelectorBlock:(btnSelectorBlock)btnSelectorBlock;

/**
 *  使用颜色设置按钮背景图片
 *
 *  @param backgroundColor 背景颜色
 *  @param state           按钮状态
 */
- (void)setBackgroundColor:(UIColor *)backgroundColor forState:(UIControlState)state;
@end
